package cn.wjh.business.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 比赛报名对象 tbl_competition_sign
 *
 * @author jiraWu
 * @date 2023-10-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tbl_competition_sign")
public class CompetitionSign extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 报名Id
	 */
	@Excel(name = "报名Id")
	@TableId
	private Long signId;


	/**
	 * 用户Id
	 */
	@Excel(name = "用户Id")
	private Long userId;


	/**
	 * 比赛Id
	 */
	@Excel(name = "比赛Id")
	private Long competitionId;


	/**
	 * 报名时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createTime;

}

